package com.dmap.admin.po;

import java.io.Serializable;

public class AppVersion implements Serializable {
    /**
     * 主键id
     * 表字段 : app_version.id
     */
    private Long id;

    /**
     * 硬件编号
     * 表字段 : app_version.app_number
     */
    private String appNumber;

    /**
     * 最小版本
     * 表字段 : app_version.android_version
     */
    private String androidVersion;

    /**
     * 最新版本
     * 表字段 : app_version.ios_version
     */
    private String iosVersion;

    /**
     * 创建时间
     * 表字段 : app_version.create_time
     */
    private Long createTime;

    /**
     * 最后更新时间
     * 表字段 : app_version.update_time
     */
    private Long updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table app_version
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table app_version
     *
     * @mbggenerated
     */
    public AppVersion(Long id, String appNumber, String androidVersion, String iosVersion, Long createTime, Long updateTime) {
        this.id = id;
        this.appNumber = appNumber;
        this.androidVersion = androidVersion;
        this.iosVersion = iosVersion;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table app_version
     *
     * @mbggenerated
     */
    public AppVersion() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app_version.id
     *
     * @return the value of app_version.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app_version.id
     *
     * @param id the value for app_version.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app_version.app_number
     *
     * @return the value of app_version.app_number
     *
     * @mbggenerated
     */
    public String getAppNumber() {
        return appNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app_version.app_number
     *
     * @param appNumber the value for app_version.app_number
     *
     * @mbggenerated
     */
    public void setAppNumber(String appNumber) {
        this.appNumber = appNumber == null ? null : appNumber.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app_version.android_version
     *
     * @return the value of app_version.android_version
     *
     * @mbggenerated
     */
    public String getAndroidVersion() {
        return androidVersion;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app_version.android_version
     *
     * @param androidVersion the value for app_version.android_version
     *
     * @mbggenerated
     */
    public void setAndroidVersion(String androidVersion) {
        this.androidVersion = androidVersion == null ? null : androidVersion.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app_version.ios_version
     *
     * @return the value of app_version.ios_version
     *
     * @mbggenerated
     */
    public String getIosVersion() {
        return iosVersion;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app_version.ios_version
     *
     * @param iosVersion the value for app_version.ios_version
     *
     * @mbggenerated
     */
    public void setIosVersion(String iosVersion) {
        this.iosVersion = iosVersion == null ? null : iosVersion.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app_version.create_time
     *
     * @return the value of app_version.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app_version.create_time
     *
     * @param createTime the value for app_version.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app_version.update_time
     *
     * @return the value of app_version.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app_version.update_time
     *
     * @param updateTime the value for app_version.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table app_version
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", appNumber=").append(appNumber);
        sb.append(", androidVersion=").append(androidVersion);
        sb.append(", iosVersion=").append(iosVersion);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}